package com.springboot.dao;

import com.springboot.bean.Student;

import java.util.List;
import java.util.Map;

/**
 * @author peter
 * @title: StudentDao
 * @projectName springAll-peter
 * @description: TODO
 * @date 19-5-5下午4:16
 */
public interface StudentDao {
    int add(Student student);

    int update(Student student);

    int deleteBysno(Integer sno);

    List<Map<String, Object>> queryStudentsListMap();

    Student queryStudentBySno(Integer sno);
}
